drm/vc4: Add support for drawing 3D frames.
authorEric Anholt <eric@anholt.net>
Mon, 30 Nov 2015 20:13:37 +0000 (12:13 -0800)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 17 Mar 2016 01:25:23 +0000 (01:25 +0000)
commit4e47b203578371f6cb1ffe36f49e73bbf2b3c221
tree14a8ff25dbcefaa5886c871ffe9a3f1f53053de9
parent377abda947b31f62fe6190e47ef2cbe7b6098e7d
drm/vc4: Add support for drawing 3D frames.

The user submission is basically a pointer to a command list and a
pointer to uniforms.  We copy those in to the kernel, validate and
relocate them, and store the result in a GPU BO which we queue for
execution.

v2: Drop support for NV shader recs (not necessary for GL), simplify
    vc4_use_bo(), improve bin flush/semaphore checks, use __u32 style
    types.

Signed-off-by: Eric Anholt <eric@anholt.net>
Gbp-Pq: Topic features/arm/rpi
Gbp-Pq: Name drm-vc4-add-support-for-drawing-3d-frames.patch
12 files changed:
drivers/gpu/drm/vc4/Makefile
drivers/gpu/drm/vc4/vc4_drv.c
drivers/gpu/drm/vc4/vc4_drv.h
drivers/gpu/drm/vc4/vc4_gem.c [new file with mode: 0644]
drivers/gpu/drm/vc4/vc4_irq.c [new file with mode: 0644]
drivers/gpu/drm/vc4/vc4_packet.h [new file with mode: 0644]
drivers/gpu/drm/vc4/vc4_render_cl.c [new file with mode: 0644]
drivers/gpu/drm/vc4/vc4_trace.h [new file with mode: 0644]
drivers/gpu/drm/vc4/vc4_trace_points.c [new file with mode: 0644]
drivers/gpu/drm/vc4/vc4_v3d.c
drivers/gpu/drm/vc4/vc4_validate.c [new file with mode: 0644]
include/uapi/drm/vc4_drm.h